package javax.microedition.lcdui;

public class Graphics {
  public static Graphics CurrentGraphics;
  public static Font FontObj;
  public static final int SOLID = 0;

  public static final int DOTTED = 1;

  public static final int HCENTER = 1;

  public static final int TOP = 16;

  public static final int VCENTER = 2;

  public static final int BOTTOM = 32;

  public static final int LEFT = 4;

  public static final int BASELINE = 64;

  public static final int RIGHT = 8;

  public static void Init()
  {
    if(CurrentGraphics==null)
       CurrentGraphics=new Graphics();
  }

  public Graphics()
  {
    FontObj=Font.getDefaultFont();
    CurrentGraphics=this;
  }

  public int getBlueComponent() {
    return 0;
  }

  public int ClipHeight = 320;

  public int getClipHeight() {
    return ClipHeight;
  }

  public int ClipWidth = 240;

  public int getClipWidth() {
    return ClipWidth;
  }

  public int ClipX;

  public int getClipX() {
    return ClipX;
  }

  public int ClipY;

  public int getClipY() {
    return ClipX;
  }

  public int getColor() {
    return Color;
  }

  public int getDisplayColor(int paramInt) {
    return 0;
  }

  public int getGrayScale() {
    return GrayScale;
  }

  public int getGreenComponent() {
    return 0;
  }

  public int getRedComponent() {
    return 0;
  }

  public int getStrokeStyle() {
    return StrokeStyle;
  }

  public int getTranslateX() {
    return TranslateX;
  }

  public int getTranslateY() {
    return TranslateY;
  }

  public Font getFont() {
    return FontObj.getDefaultFont();
  }

  public native void ClipRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public void clipRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    ClipRect(paramInt1, paramInt2, paramInt3, paramInt4);
  }

  public native void CopyArea(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6);

  public void copyArea(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6,
      int paramInt7) {
    CopyArea(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
  }

  public native void DrawArc(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6);

  public void drawArc(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6) {
    DrawArc(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
  }

  public native void DrawChar(char paramChar, int paramInt1, int paramInt2, int paramInt3);

  public void drawChar(char paramChar, int paramInt1, int paramInt2, int paramInt3) {
    DrawChar(paramChar, paramInt1, paramInt2, paramInt3);
  }

  public native void DrawChars(char[] paramArrayOfchar, int paramInt1, int paramInt2, int paramInt3, int paramInt4,
      int paramInt5);

  public void drawChars(char[] paramArrayOfchar, int paramInt1, int paramInt2, int paramInt3, int paramInt4,
      int paramInt5) {
    DrawChars(paramArrayOfchar, paramInt1, paramInt2, paramInt3, paramInt4,
        paramInt5);
  }

  public native void DrawImage(Image paramImage, int paramInt1, int paramInt2, int paramInt3);

  public void drawImage(Image paramImage, int paramInt1, int paramInt2, int paramInt3) {
    DrawImage(paramImage, paramInt1, paramInt2, paramInt3);
  }

  public native void DrawLine(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public void drawLine(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    DrawLine(paramInt1, paramInt2, paramInt3, paramInt4);
  }

  public native void DrawRGB(int[] paramArrayOfint, int paramInt1, int paramInt2, int paramInt3, int paramInt4,
      int paramInt5, int paramInt6, boolean paramBoolean);

  public void drawRGB(int[] paramArrayOfint, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5,
      int paramInt6, boolean paramBoolean) {
    DrawRGB(paramArrayOfint, paramInt1, paramInt2, paramInt3, paramInt4,
        paramInt5, paramInt6, paramBoolean);
  }

  public native void DrawRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public void drawRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    DrawRect(paramInt1, paramInt2, paramInt3, paramInt4);
  }

  public native void DrawRegion(Image paramImage, int paramInt1, int paramInt2, int paramInt3, int paramInt4,
      int paramInt5,
      int paramInt6, int paramInt7, int paramInt8);

  public void drawRegion(Image paramImage, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5,
      int paramInt6, int paramInt7, int paramInt8) {
    DrawRegion(paramImage, paramInt1, paramInt2, paramInt3, paramInt4,
        paramInt5, paramInt6, paramInt7, paramInt8);
  }

  public native void DrawRoundRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5,
      int paramInt6);

  public void drawRoundRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6) {
    DrawRoundRect(paramInt1, paramInt2, paramInt3, paramInt4,
        paramInt5, paramInt6);
  }

  public native void DrawString(String paramImage, int paramInt1, int paramInt2, int paramInt3);

  public void drawString(String paramString, int paramInt1, int paramInt2, int paramInt3) {
    DrawString(paramString, paramInt1, paramInt2, paramInt3);
  }

  public native void DrawSubstring(String paramImage, int paramInt1, int paramInt2, int paramInt3, int paramInt4,
      int paramInt5);

  public void drawSubstring(String paramString, int paramInt1, int paramInt2, int paramInt3, int paramInt4,
      int paramInt5) {
    DrawSubstring(paramString, paramInt1, paramInt2, paramInt3, paramInt4,
        paramInt5);
  }

  public native void FillArc(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public void fillArc(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    FillArc(paramInt1, paramInt2, paramInt3, paramInt4);
  }

  public native void FillRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public void fillRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    FillRect(paramInt1, paramInt2, paramInt3, paramInt4);
  }

  public native void FillRoundRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5,
      int paramInt6);

  public void fillRoundRect(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6) {
    FillRoundRect(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
  }

  public native void FillTriangle(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5,
      int paramInt6);

  public void fillTriangle(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6) {
    FillTriangle(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
  }

  public native void SetClip(int paramInt1, int paramInt2, int paramInt3, int paramInt4);

  public void setClip(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    ClipX = paramInt1;
    ClipY = paramInt2;
    ClipWidth = paramInt3;
    ClipHeight = paramInt4;
    SetClip(paramInt1, paramInt2, paramInt3, paramInt4);
  }

  public native void SetColor(int paramInt);

  public int Color;

  public void setColor(int paramInt) {
    Color = paramInt;
    SetColor(paramInt);
  }

  public void setColor(int paramInt,boolean parmBoolean) {
    setColor(paramInt);
  }

  public native void SetColor(int paramInt, int paramInt2, int paramInt3);

  public void setColor(int paramInt1, int paramInt2, int paramInt3) {
    SetColor(paramInt1, paramInt2, paramInt3);
  }

  public void setFont(Font paramFont) {
    if(paramFont!=null)
      FontObj = paramFont;
  }

  public int GrayScale;

  public void setGrayScale(int paramInt) {
    GrayScale = paramInt;
  }

  public int StrokeStyle;

  public void setStrokeStyle(int paramInt) {
    StrokeStyle = paramInt;
  }

  public int TranslateX;
  public int TranslateY;

  public void translate(int paramInt1, int paramInt2) {
    TranslateX = paramInt1;
    TranslateY = paramInt2;
  }
}

/*
 * Location:
 * C:\Java\rt\javax\microedition\midp_2.1.jar!\javax\microedition\lcdui\Graphics
 * .class
 * Java compiler version: 3 (47.0)
 * JD-Core Version: 1.1.3
 */